<template>
  <div class="successfully">
        <img class="maxbg" src="../../assets/images/maxbg.png" alt="">
        <div class="Citynav">
            <img style="margin-left:12px" @click="totrademark" src="../../assets/images/close.png" alt="">
            <div></div>
            <div style="margin-right:12px;width:18px;height:19px;"></div>
        </div>
        <div class="content">
            <div class="boxcon">
                <img class="minbg" src="../../assets/images/minbg.png" alt="">
                <div class="boxcon_box">
                    <h2>提交成功</h2>
                    <div class="lable">
                        <div>
                            <p>姓名：</p>
                            <p>{{data.name}}</p>
                        </div>
                        <div>
                            <p>手机号码：</p>
                            <p>{{data.mobile}}</p>
                        </div>
                        <div>
                            <p>所在城市：</p>
                            <p>{{data.region_lv3_name}}</p>
                        </div>
                        <div>
                            <p>意向车型：</p>
                            <p>{{data.series_name}}</p>
                        </div>
                    </div>
                    <div class="tips">感谢您的咨询，我们将尽快与您联系！</div>
                    <div class="invite">微信邀请好友砍价最高可省<span>5999</span>元</div>
                    <div class="invite2">微信扫描二维码打开注册淘车宝贝</div>
                    <div class="QRcode">
                        <div>
                            <img src="../../assets/images/smalldownload.png" alt="">
                            <p>扫码打开小程序</p>
                        </div>
                        <div>
                            <img src="../../assets/images/APPdownload.png" alt="">
                            <p>淘车宝贝app下载</p>
                        </div>
                    </div>
                </div>
            </div>
            <!-- <img class="activity" :src="data.banner_url" alt=""> -->
            <img class="activity" src="../../assets/images/activity.png" alt="">
        </div>
        
  </div>
</template>

<script>
export default {
    data:() => ({
       data:'',
       code:''
    }),
    created() {
       this.data = this.$route.params.data  
       console.log(this.data)
       console.log(this.$route.params.code)
       this.code = this.$route.params.code
    },
    mounted(){
        
    },
    methods:{
        totrademark(){
            this.$router.push({  
                name:'index',
                query: {
                    code: this.code
                }
            })
        },
    }
}
</script>

<style>
@import "index";
</style>